home *** CD-ROM | disk | FTP | other *** search
- global gTextSprite, gDBItem, gHandCursor, gCameFrom, gDataPath, gPathDel
-
- on prepareMovie
- set gTextSprite to 10
- set tmpName to "txt" & gDBItem
- put tmpName
- set the member of sprite gTextSprite to the number of member tmpName of castLib "DBCast"
- set gHandCursor to [member "handCursorCast" of castLib "Globals", member "handCursorCastMask" of castLib "Globals"]
- set exitSprite to 20
- if gCameFrom = #pres then
- set the visible of sprite exitSprite to 1
- else
- set the visible of sprite exitSprite to 0
- end if
- set originalPath to gDataPath & "VR_docs" & gPathDel & gDBItem & ".mov"
- set originalSprite to 115
- if checkIfFileExist(originalPath) then
- set the visible of sprite originalSprite to 1
- else
- set the visible of sprite originalSprite to 0
- end if
- end
-